Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: add option to set maximum size for file preview #732

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

mdonadoni
Copy link
Member

Closes #728

@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2023

Codecov Report

Merging #732 (bb10e8a) into master (e0c0138) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #732   +/-   ##
=======================================
  Coverage   18.87%   18.87%           
=======================================
  Files          26       26           
  Lines        2199     2199           
=======================================
  Hits          415      415           
  Misses       1784     1784           

@@ -31,6 +31,7 @@ This Helm automatically prefixes all names using the release name to avoid colli
| `components.reana_server.uwsgi.log_5xx` | Log only error HTTP requests with status code 5xx. To make this configuration effective `components.reana_server.uwsgi.log_all` must be false. | true |
| `components.reana_ui.announcement` | Announcement message displayed in site top banner | None |
| `components.reana_ui.enabled` | Instantiate the [REANA-UI](https://github.com/reanahub/reana-ui) | true |
| `components.reana_ui.file_preview_size_limit` | Maximum file size (in bytes) that can be previewed in the web interface | 5242880 |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `components.reana_ui.file_preview_size_limit` | Maximum file size (in bytes) that can be previewed in the web interface | 5242880 |
| `components.reana_ui.file_preview_size_limit` | Maximum file size (in bytes) that can be previewed in the web interface. Default value: 5242880 = 5 MiB | 5242880 |

What do you think? To give a friendly explaination of the number used as default value, as is done for kubernetes_jobs_timeout_limit and kubernetes_jobs_max_user_timeout_limit

@mdonadoni mdonadoni merged commit bb10e8a into reanahub:master Aug 11, 2023
13 checks passed
@mdonadoni
Copy link
Member Author

Rebased and merged!

@mdonadoni mdonadoni deleted the preview-size-limit branch August 11, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

helm: allow customisation of file size limit for web file preview
3 participants